﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using log4net;
namespace VoteSystem.Services
{
    public class LogHelper
    {
        private static ILog logger = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

        public static void Debug(string msg) 
        {
            logger.Debug(msg);
        }

        public static void Error(string msg) 
        {
            logger.Error(msg);
        }
    }
}